/*
 * Created on 16/03/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.stefanini.pe.bbva.mbl.in.bo.iface;

import java.util.List;

import com.stefanini.pe.bbva.mbl.carga.in.to.Perfil;
import com.stefanini.pe.bbva.mbl.in.dao.iface.PerfilDAO;

/**
 * @author jlezama
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface PerfilBO {
	/**
	 * @return Returns the perfilDAO.
	 */
	public abstract PerfilDAO getPerfilDAO();

	/**
	 * @param perfilDAO The perfilDAO to set.
	 */
	public abstract void setPerfilDAO(PerfilDAO perfilDAO);

	/**
	 * @param codPerfil
	 * @return
	 */
	public abstract int deleteByPrimaryKey(String codPerfil);

	/**
	 * @param record
	 */
	public abstract void insert(Perfil record);

	/**
	 * @param record
	 */
	public abstract void insertSelective(Perfil record);

	/**
	 * @param codPerfil
	 * @return
	 */
	public abstract Perfil selectByPrimaryKey(String codPerfil);

	/**
	 * @param record
	 * @return
	 */
	public abstract int updateByPrimaryKey(Perfil record);

	/**
	 * @param record
	 * @return
	 */
	public abstract int updateByPrimaryKeySelective(Perfil record);
	
	public abstract List selectAll();
	
	public abstract List selectByCriteria(Perfil record);
	
	public abstract int selectSequence();
	
}